class NotasConsultarController < ApplicationController

  layout 'estado_arte_layout'

  def consultar
    @id_reunion = params[:id_reunion]
    if(@id_reunion != nil && @id_reunion != "")
      @reunion = Reunion.find(@id_reunion)
      @notas = @reunion.nota_textos
    else
      @id_reunion = "No"
      @reuniones = Reunion.all
    end
  end
end
